// 全局路由中间件
const global = defineNuxtRouteMiddleware((to) => {
    if(to.path === '/about') {
        return navigateTo('/test')
    }
})

export default global